<!doctype html>
<html>
<head>
    @include('includes.head')
</head>
<body>
<div class="container login">
	<div class="row row-centered">
		<div class="col-xs-3 col-centered logo-container">
			<img src="img/logo.jpg">
		</div>
		<div class="col-xs-3 col-centered form-container">
			<div class="page-title">
				<p>Labby Login</p>
			</div>
			<div class="the-form"> 	
				{{Form::open(array('url' => 'login', 'method' => 'post')) }}
				{{Form::text('id', null, array('class'=>'form-control', 'placeholder'=>'Usuario'))}}
				{{Form::password('password',array('class'=>'form-control', 'placeholder'=>'Contraseña'))}}
				<div class="submit-button-container text-center">
					<button type="submit" class="btn btn-default btn-m">
					  <span class="glyphicon glyphicon-log-in" aria-hidden="true"></span> Entrar
					</button>
				</div>
				
				{{Form::close()}}
			</div>
			<div class="error">
				@if(isset($loginError))
				<div class="alert alert-danger" role="alert">
				  <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
				  <span class="sr-only">Error:</span>
				  {{$loginError}}
				</div>
				@endif
			</div>
		</div>

		
	</div>
</div>
</body>
</html>